package com.example.demo.arithmetic.datastructure.queue2;

public class Test {
    public static void main(String[] args) {
        MyLinkedListQueue queue = new MyLinkedListQueue<>();
        queue.offer(1);
        queue.offer(2);
        queue.offer(3);
        queue.offer(4);

        for (Object o : queue) {
            System.out.println(o);
        }
    }
}
